package com.learning.mybatis.mapper.select.entity;

import lombok.Getter;

@Getter
public enum Sex {
    /**
     * 男
     */
    MALE(1, "男"),
    /**
     * 女
     */
    FEMALE(2, "女");

    private int id;
    private String desc;

    Sex(int id, String desc) {
        this.id = id;
        this.desc = desc;
    }
}
